//
//  WRYBaseThemeView.m
//  BaiSiBuJie
//
//  Created by wry on 16/5/4.
//  Copyright © 2016年 WRY. All rights reserved.
//

#import "WRYBaseThemeView.h"
#import "WRYLoadImageManager.h"

@implementation WRYBaseThemeView

-(void)awakeFromNib
{
    [super awakeFromNib];
    // 默认一个xib控件，都会自动去添加autoresizingMask
    // autoresizingMask:会把xib的控件自动拉伸，导致控件和xib尺寸不一样.
    //不拉伸
    self.autoresizingMask=UIViewAutoresizingNone;
}
+(instancetype)loadFromNib
{
    //从xib加载
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] firstObject];

}

@end
